package com.bw.service;

import com.bw.dao.moveDao;
import com.bw.domain.Move;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class moveServiceImpl implements moveService {

    @Autowired
    moveDao moveDao;
    @Override
    public List<Move> getList() {
        return moveDao.getList();
    }

    @Override
    public List<Move> getList2(String mintime, String maxtime) {
        return  moveDao.getList2(mintime,maxtime);
    }

    @Override
    public List<Move> getList3(String name) {
        return moveDao.getList3(name);
    }

    @Override
    public List<Move> getList4(String dname) {
        return moveDao.getList4(dname);
    }
}
